// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
	app: {
		head: {
			title: '疯味网点餐',
			meta: [
				// <meta name="viewport" content="width=device-width, initial-scale=1">
				{ name: 'viewport', content: 'width=device-width, initial-scale=1' },
				{ name: 'generator', content: 'nuxt3 vue3 springboot' },
				{ name: 'keywords', content: '疯味网点餐' },
				{ name: 'author', content: 'cwiyc' },
				{ name: 'copyright', content: '2470455394@qq.com' },
				{ name: 'msvalidate.01', content: '10D04FA2F59220FAF0515B2244D67FFC' },
				{ name: 'baidu-site-verification', content: 'codeva-h5uLhwYJi3' },	
				{ name: 'description', content: '疯味网 疯味网点餐 疫情挡不住 订单滚滚来. 一个崭新的在线点餐系统给餐馆老板带来欣喜. 餐厅扫码在线点餐系统扫码点餐是帮助非快餐餐厅引进智能化的自助点餐， 让顾客用扫描桌台二维码自助点餐，无须服务员记菜单。 这种方式正在成为餐饮经营中的一股潮流' }
			],
			script: [
				// <script src="https://myawesome-lib.js"></script>
				// { src: 'https://awesome-lib.js' }
				// { src: '/_nuxt/utils/baiduAnalysis.js' } //本地可运行
				{ src: 'https://img.cwiyc.top/baiduAnalysis.js' }
				
			],
			link: [
				// <link rel="stylesheet" href="https://myawesome-lib.css">
				// { rel: 'stylesheet', href: 'vant/lib/index.css' }
				// { rel: 'icon', type: 'image/x-icon', href: '/_nuxt/static/logoico.png' }
				{ rel: 'icon', type: 'image/x-icon', href: 'https://img.cwiyc.top/logoico.png' }
			],
			// please note that this is an area that is likely to change
			style: [
				// <style type="text/css">:root { color: red }</style>
				{ children: ':root { color: red }' }
			],
			noscript: [
				// <noscript>Javascript is required</noscript>
				{ children: 'Javascript is required' }
			]	
		},
	},
	runtimeConfig: {
		public: {
			BaseUrl: "http://localhost:9090"
			// BaseUrl: "http://47.115.219.84:9090"
		}
	},
	experimental: {
		externalVue: true,
	}
})
